package com.ssfeng.proxy2;

import java.lang.reflect.Method;

/**
 * Created by liyuhang on 2020-09-10.
 */
public interface MyInvocationHandler {


     Object invoke(Object proxy, Method method, Object[] args) throws Throwable;


//    static Object newProxyInstance(MyClassLoader myClassLoader,
//                                   Class<?>[] interfaces,
//                                   MyInvocationHandler h);


//    static Object newProxyInstance(Object object,
//                                   Class<?>[] interfaces,
//                                   MyInvocationHandler h);
}
